<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>珠海市外商投资企业信息搜索系统</title>
</head>
<body>
<form id="form1">
	<div id="default" style="margin:auto;text-align:center;">
		<div style="margin-top:100px;margin-bottom:20px;font-size:26pt;font-family:微软雅黑;color:#003366;">珠海市外商投资企业信息搜索系统</div>
		<div><input type="text" value="请输入关键字搜索" id="keyword" onfocus="f();" onblur="b();" style="width:500px;color:#cccccc;height:30px;font-size:22px;" /> <input type="button" value="搜索" onclick="go();" style="height:30px;font-size:22px;" /></div>
		<div style="margin-top:100px;">系统开发：<a href="http://www.zhaefi.org/" target="_blank"><img src="res/logo.jpg" alt="珠海外商投资企业协会" title="珠海外商投资企业协会" style="border:0;" /></a></div>
	</div>
	<script language="javascript">
	function go(){
		var k = document.getElementById("keyword").value;
		if (k == "请输入关键字搜索"){
			k = "";
		}
		window.location.href = "list.htm?k=" + encodeURI(k); 
	}

	function f(){
		var k = document.getElementById("keyword");
		if (k.value == "请输入关键字搜索"){
			k.value="";
		}
		k.style.color="#000000";
	}

	function b(){
		var k = document.getElementById("keyword");
		if (k.value == ""){
			k.value="请输入关键字搜索";
		}
		k.style.color="#cccccc";
	}
	
	$(document).ready(function(){
		$("#keyword").keypress(function(event){
			if(event.which == 13){
				setTimeout("go()", 1000);
			}
		});
	})
	</script>
</form>
</body>
</html>